<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>
<!-- 
	<div class="row">
		<?php //echo $form->label($model,'id'); ?>
		<?php //echo $form->textField($model,'id'); ?>
	</div>
 -->
	<div class="row">
		<?php echo $form->label($model,'Tenant Name'); ?>
		<?php echo $form->textField($model,'Name'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'LastName'); ?>
		<?php echo $form->textField($model,'LastName',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'FirstName'); ?>
		<?php echo $form->textField($model,'FirstName',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'MiddleInitial'); ?>
		<?php echo $form->textField($model,'MiddleInitial',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'DateOfBirth'); ?>
		<?php echo $form->textField($model,'DateOfBirth',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row ">
		<?php echo $form->label($model,'OnLease'); ?>
		<?php echo $form->dropDownList($model,'OnLease',array('0'=>'No','1'=>'Yes'),array('prompt'=>'Choose')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'LastFreeAcess'); ?>
		<?php echo $form->textField($model,'LastFreeAcess',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->